package com.bbcare.followup.plat.entity;

import java.io.Serializable;

import javax.persistence.Entity;

import com.bbcare.comm.DateUtil;

/**
 * @name: bs_service_dict服务接口配置实体类
 * @author: DemonLee
 * @createTime: 2017.5.29
 * @description: 服务接口配置
 * @modify:
 * 
 */

@Entity
public class BsServiceDict implements Serializable {
    private static final long serialVersionUID = 1L;

    // 唯一标识
    private String id;
    // 服务名称
    private String serviceName;
    // 服务类型：1：消息中间件， 2：HSF， 3：ESB，4:APP接口服务...
    private String serviceType;
    // 是否有效标志位，1有效，0无效
    private String status;
    // 服务调用地址
    private String serviceAddress;
    // 调用方法名
    private String methodName;
    // 服务描述
    private String serviceDesc;
    // 服务所属人
    private String serviceOwner;
    // 更新时间
    private String updateTime;
    // 创建时间
    private String createTime;
    // 入参配置
    private String inParam;
    // 出参配置
    private String outParam;
    // 指定目标命名空间
    private String targetNamespace;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setServiceAddress(String serviceAddress) {
        this.serviceAddress = serviceAddress;
    }

    public String getServiceAddress() {
        return serviceAddress;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setServiceDesc(String serviceDesc) {
        this.serviceDesc = serviceDesc;
    }

    public String getServiceDesc() {
        return serviceDesc;
    }

    public void setServiceOwner(String serviceOwner) {
        this.serviceOwner = serviceOwner;
    }

    public String getServiceOwner() {
        return serviceOwner;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = DateUtil.getTimeStampSec(updateTime);
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = DateUtil.getTimeStampSec(createTime);
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setInParam(String inParam) {
        this.inParam = inParam;
    }

    public String getInParam() {
        return inParam;
    }

    public void setOutParam(String outParam) {
        this.outParam = outParam;
    }

    public String getOutParam() {
        return outParam;
    }

	public String getTargetNamespace() {
		return targetNamespace;
	}

	public void setTargetNamespace(String targetNamespace) {
		this.targetNamespace = targetNamespace;
	}


    
}
